<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;

?>
<?php $this->beginPage() ?>
<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<!--    <meta name="viewport" content="width=device-width, initial-scale=1">-->
<!--    <meta name="viewport" content="width=device-width, initial-scale=1">-->

    <link rel="icon" href="https://www.yiichina.com/favicon.ico?v=1528501659">
    <!-- Bootstrap core CSS -->
    <link href="/iassets/dockerdoc/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="/iassets/dockerdoc/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/iassets/dockerdoc/css/boostrap3.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="/iassets/dockerdoc/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="/iassets/dockerdoc/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/iassets/dockerdoc/js/html5shiv.min.js"></script>
    <script src="/iassets/dockerdoc/js/respond.min.js"></script>
    <![endif]-->


    <?php $this->registerCsrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
<!--    <title>Yii bootstrap3 widget guides</title>-->
    <?php  $this->head() ?>

</head>

<body>
<?php $this->beginBody() ?>
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#sidebar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/yii/default/test">
                <img src="/images/logo.png" alt="yii brand">
            </a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-left">
                <li><a href="#">Home</a></li>
                <li><a href="#" class="action">Bootstrap3</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">Contact</a></li>
            </ul>
        </div>
    </div>
</nav>

<div class="container-fluid">

    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar" id="sidebar">
            <ul class="nav nav-sidebar">
                <li class=""><a href="/yii2/bootstrap3/overview">Overview <span class="sr-only">(current)</span></a></li>
                <li>
                    <a href="/yii2/bootstrap3/form" class="collapsed" data-toggle="collapse" data-target="#items2" aria-expanded="false" aria-controls="items2"><span>Form</span><span class="caret"></span></a>
                    <ul class="nav nav-sidebar collapse level2" id="items2">
                        <li><a href="/yii2/bootstrap3/input" class="">Input</a></li>
                        <li><a href="/yii2/bootstrap3/textarea">Textarea</a></li>
                    </ul>
                </li>
                <li><a href="#">Analytics</a></li>
                <li><a href="#">Export</a></li>
                <li>
                    <a href="#" class="collapsed" data-toggle="collapse" data-target="#items" aria-expanded="false" aria-controls="navbar"><span>items</span>
                        <span class="caret"></span>
                    </a>
                    <ul class="nav nav-sidebar collapse level2" id="items">
                        <li><a href="">Nav item</a></li>
                        <li><a href="">Nav item again</a></li>
                        <li><a href="">One more nav</a></li>
                        <li><a href="">Another nav item</a></li>
                        <li>
                            <a href="#"  class="collapsed" data-toggle="collapse" data-target="#items1" aria-expanded="false" aria-controls="navbar"><span>items</span><span class="caret"></span></a>
                            <ul class="nav nav-sidebar collapse level3" id="items1">
                                <li><a href="">Nav item</a></li>
                                <li><a href="">Nav item again</a></li>
                                <li><a href="">One more nav</a></li>
                                <li><a href="">Another nav item</a></li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main cms-article">

            <div class="row">
                <div class="col-sm-10">
                    <?= $content ?>
                </div>
                <div class="col-sm-2 hidden-xs">
                    <?php
                        echo \frontend\modules\yii2\widgets\layouts\Anchor::widget();
                    ?>
                </div>
            </div>
            <footer class="footer vertical-container">
                <p><span>浙ICP备2021007911号</span>Powered by @陈致威</p>
            </footer>
        </div>


    </div>
</div>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/iassets/dockerdoc/js/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
<script>
    window.jQuery || document.write('<script src="https://cdn.jsdelivr.net/npm/@bootcss/v3.bootcss.com@1.0.17/assets/js/vendor/jquery.min.js"><\/script>')
</script>
<script src="/iassets/dockerdoc/js/bootstrap.min.js"></script>
<!-- Just to make our placeholder images work. Don't actually copy the next line! -->
<script src="/iassets/dockerdoc/js/vendor/holder.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="/iassets/dockerdoc/js/ie10-viewport-bug-workaround.js"></script>
<script>
    $("a[href='<?=Yii::$app->request->url?>']").addClass('active');
</script>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
